package com.nptever.webcamera.impl.request;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;

/**
 * @author ZhangKai
 * @version 1.0
 * @decription 构造云台控制信息请求体
 * @date 2018/11/16 17:33
 */
@XmlAccessorType(XmlAccessType.PUBLIC_MEMBER)
public class GetRelativeMoveBody extends GetServices{

    @XmlElements(
            @XmlElement(name = "tptz:Translation", type = Translation.class)
    )
    private Translation translation;

    @XmlElements(
            @XmlElement(name = "tptz:Speed", type = Speed.class)
    )
    private Speed speed;

    @XmlElement(name = "tptz:ProfileToken")
    private String ProfileToken = "MainStreamProfileToken";

    public void setProfileToken(String profileToken) {
        ProfileToken = profileToken;
    }

    public void setTranslation(Translation translation) {
        this.translation = translation;
    }

    public void setSpeed(Speed speed) {
        this.speed = speed;
    }
}
